package com.gxm.模式.代理.静态;

public class Demo {
    public static void main(String[] args) {
        //无代理调用
        IUserDao userDao = new UserDaoImpl();
        userDao.add();
        UserDaoProxy userDaoProxy = new UserDaoProxy(userDao);
        userDaoProxy.add();
    }
}
